# ``vector-sized-extra``

Contains some wrappers and extra functionality of use to those who use
[``vector-sized``][1]. In particular:

* Wraps multiple sorting functions from [``vector-algorithms``][2]
* Provides versions of sorts that return a sorted copy, rather than sorting
  in-place
* Provides an in-place, as well as copying, [Fisher-Yates shuffle][3] for
  fixed-length vectors
* Implementations of [Algorithm R][4] and [Chao's algorithm][5] for random and
  random weighted sampling respectively

For more details, see the Haddock documentation.

## License 

This project is licensed under the 3-clause BSD license (SPDX code
``BSD-3-Clause``). For the license text, please see the ``LICENSE`` file.

[1]: http://hackage.haskell.org/package/vector-sized
[2]: http://hackage.haskell.org/package/vector-algorithms
[3]: https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle
[4]: http://www.cs.umd.edu/~samir/498/vitter.pdf
[5]: https://academic.oup.com/biomet/article-abstract/69/3/653/221439
